﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System;

namespace Agile.Models
{
    /// <summary>
    /// 收藏表
    /// </summary>
    [Table("common_favorite")]
    [Description("收藏表")]
    public class Favorite : Entity
    {
        /// <summary>
        /// 会员ID
        /// </summary>
        [Description("会员ID")]
        public virtual string UserID { get; set; }
        /// <summary>
        /// 对象ID
        /// </summary>
        [Description("对象ID")]
        public virtual string ObjectID { get; set; }
        /// <summary>
        /// 对象类型
        /// </summary>
        [Description("对象类型")]
        public virtual string ObjectType { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        [Description("标题")]
        public virtual string Title { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [Description("描述")]
        public string Description { get; set; }

    }
}
